home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 9,300 to 9,399 / 9300.zip / AOLDLs / Helper Apps (MAC) / HELPER_ URL Runner 3.0 / URL Runner FMP3.sit / URL Runner FMP3 / Reference Scripts / Bonnie & Clyde.d2.tx < prev    next >
Text File  |  1996-10-04  |  724b  |  20 lines

  1. if (is application running "Netscape Navigator¬ 3.0") then
  2.     tell application "Netscape Navigator¬ 3.0"
  3.         set TheSheriff to unique ID of window 1
  4.         set Themarshall to get window info TheSheriff
  5.         set Bonnie to item 1 of Themarshall
  6.         set Clyde to item 2 of Themarshall
  7.         set NameNum to (count of items in Clyde) as string
  8.         set SiteName to items 11 thru NameNum of Clyde as string
  9.     end tell
  10.     if (is application running "FileMaker Pro") then
  11.         tell application "FileMaker Pro"
  12.             set TheBank to the ID of (create new record at database 1)
  13.             go to record ID TheBank
  14.             set cell "Address" of current record to Bonnie as string
  15.             set cell "Site Name" of current record to SiteName as string
  16.         end tell
  17.     end if
  18. else
  19.     quit
  20. end if